/**
 * 更新库存后检查警戒线
 */
export function checkStockWarning(data: {
  scId: string;
  productId: string;
  currentStock: number;
}): Promise<void> {
  return defHttp.post<void>(
    {
      url: '/sc/stock/check-warning',
      data,
    },
    {
      contentType: ContentTypeEnum.JSON,
      region,
    },
  );
} 
